/* General styles */
.pageContainer {
  font-family: Arial, sans-serif;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  background-color: #f5f5f5;
  min-height: 100vh;
}

/* Header styles */
.pageHeader {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: white;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.pageImg {
  cursor: pointer;
}

.pageImg img {
  width: 20px;
  height: 20px;
}

.pageText {
  flex: 1;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}

/* Score display styles */
.scoreDisplay {
  display: flex;
  width: 95%;
  margin-top: 13%;
  padding: 10px 0;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
}

.scoreLeft {
  padding-left: 15px;
}

.scoreTop {
  color: #505050;
  font-size: 23px;
  padding: 10px 0;
  font-weight: 600;
}

.scoreValue {
  color: red;
  margin-left: 5px;
}

.scoreLabel {
  font-size: 14px;
  color: rgba(172, 172, 172, 1);
}

.scoreRight {
  width: 15%;
  padding-right: 15px;
}

.scoreRight img {
  width: 100%;
}

/* Tab container styles */
.tabContainer {
  display: flex;
  width: 95%;
  margin: 15px auto;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab {
  width: 50%;
  padding: 15px 0;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
}

.activeTab {
  border-bottom: 2px solid red;
  color: red;
}

/* Content styles */
.scoreContent,
.orderContent {
  width: 95%;
  margin: 0 auto 20px;
  background-color: white;
  border-radius: 0 0 5px 5px;
  padding-bottom: 20px;
}

/* Filter options styles */
.filterOptions {
  display: flex;
  width: 64%;
  padding: 10px 0;
  justify-content: space-around;
}

.filterOption {
  padding: 5px 10px;
  border-radius: 5px;
  color: #bababa;
  font-size: 14px;
  background-color: #f8f8f8;
  cursor: pointer;
}

.activeFilter {
  color: white;
  background-color: red;
}

/* Score summary styles */
.scoreSummary {
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  color: #505050;
  border-bottom: 1px solid #f0f0f0;
}

.earnedScore {
  color: red;
  padding: 0 5px;
}

.consumedScore {
  color: #505050;
  padding: 0 5px;
}

/* Expiring prompt styles */
.expiringPrompt {
  display: flex;
  background-color: #fff9ed;
  color: #fea951;
  font-size: 12px;
  padding: 10px 15px;
  justify-content: space-between;
  margin: 10px;
  border-radius: 5px;
}

.promptRight {
  cursor: pointer;
}

/* Score records styles */
.scoreRecords {
  margin-top: 15px;
}

.scoreRecord {
  display: flex;
  padding: 10px 15px;
  color: #bababa;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
  align-items: center;
  justify-content: space-between;
}

.recordLeft {
  flex: 1;
}

.recordDescription {
  color: #505050;
  font-weight: 500;
}

.recordTime {
  color: #c8c8c8;
  font-size: 12px;
  margin-top: 5px;
}

.recordRight {
  color: red;
  font-weight: bold;
}

/* Order content styles */
.orderList {
  padding: 10px;
}

.orderItem {
  width: 98%;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  padding: 10px 0;
  margin: 10px auto;
  background: white;
}

.orderHeader {
  padding: 0 10px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.orderNumber {
  font-size: 15px;
  color: #505050;
}

.orderStatus {
  color: #ff8000;
  font-size: 13px;
}

.orderDetails {
  padding: 5px 10px;
  display: flex;
}

.productImage {
  width: 25%;
  height: 90px;
}

.productImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.productInfo {
  width: 54%;
  margin-left: 2%;
}

.productName {
  font-size: 15px;
  color: #333333;
}

.productDescription {
  font-size: 13px;
  color: #808080;
  padding: 5px 0;
}

.orderTime {
  font-size: 13px;
  color: #808080;
  padding-top: 5px;
}

.productPrice {
  width: 25%;
  text-align: right;
}

.price {
  font-size: 15px;
  color: #333;
  font-weight: bold;
}

.quantity {
  display: flex;
  font-size: 14px;
  align-items: center;
  color: #505050;
  justify-content: flex-end;
  margin-top: 10px;
}

.quantity img {
  width: 15px;
  margin-right: 5px;
}

.orderActions {
  padding: 5px 10px;
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.deleteButton {
  margin: 0 10px;
  padding: 5px 10px;
  border-radius: 20px;
  color: #cacaca;
  border: 1.5px solid #cacaca;
  cursor: pointer;
  font-size: 13px;
}

.buyAgainButton {
  margin: 0 10px;
  padding: 5px 10px;
  border-radius: 20px;
  color: #ffa74f;
  border: 1.5px solid #ffa74f;
  cursor: pointer;
  font-size: 13px;
}

/* No data styles */
.noData {
  text-align: center;
  padding: 40px 0;
}

.noData img {
  max-width: 60%;
  opacity: 0.6;
}

/* Loading and error styles */
.loading,
.error {
  text-align: center;
  padding: 50px 0;
  font-size: 16px;
}

.error {
  color: red;
}
